package com.yale.cxfsoapws.service;

import com.yale.cxfsoapws.model.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * @author yale
 * @date 2017/10/20
 * @version 1.0
 */
@WebService //(targetNamespace = "http://localhost:1004/")
public interface DifferentNameSpaceService {

    @WebMethod
    String getName(@WebParam(name = "userId") Long userId);

    @WebMethod
    User getUser(Long userId);


}
